//子路由
const loginR = require("koa-router")();
let loginC = require("../controller/login");

loginR.get("/",loginC.index);
loginR.post("/checkLogin",loginC.checkLogin);
loginR.get("/logout",loginC.logout);

module.exports = loginR;